package com.kaishengit.entity;

import com.kaishengit.util.DateUtil;

public class Message {
  private String id;
  private String content;
  private String createtime;
  private String userId;
  private User user;
  private String projectId;
  private Project project;
  private String stringtime;
  
  public String getProjectId() {
	return projectId;
}
public void setProjectId(String projectId) {
	this.projectId = projectId;
}
public Project getProject() {
	return project;
}
public void setProject(Project project) {
	this.project = project;
}
public String getUserId() {
	return userId;
}
public void setUserId(String userId) {
	this.userId = userId;
}

public String getId() {
	return id;
}
public void setId(String id) {
	this.id = id;
}
public String getContent() {
	return content;
}
public void setContent(String content) {
	this.content = content;
}
public String getCreatetime() {
	return createtime;
}
public void setCreatetime(String createtime) {
	this.createtime = createtime;
}
public User getUser() {
	return user;
}
public void setUser(User user) {
	this.user = user;
}
public void setStringtime(String createtime) {
	this.stringtime = DateUtil.getNiceDate(createtime);
}
public String getStringtime() {
	return stringtime;
}

}
